package com.ebupt.migu.music.oscloud.controller;

import com.ebupt.migu.music.common.entity.ResultObject;
import com.ebupt.migu.music.oscloud.service.OSCloudService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author liuyangyang@e-byte.com
 * @description: TODO
 * @date 2023/7/10 16:39
 */
@Slf4j
@RestController
@RequestMapping("/os-cloud")
public class OSCloudController {
    @Autowired
    private OSCloudService service;

    @RequestMapping("/detail")
    public ResultObject detail() {
        return service.detail();
    }
}
